/* -----------------
* brief
* 1. this is code gen by tools
* 2. array like [a,b,c] after each field, define the ui html tag in view,
		a for title,
		b for show or not ,
		c for element html tag , currently suppor : check、radio、select、input、textarea、upload tag
* 3. XXX
*/

package system

import "github.com/mjiulee/lego"

func init() {
	lego.AddBeanToSynList(new(SysUserProfile))
}

/* table: "tb_sys_user_profile"
 * -----------------
 */
type SysUserProfile struct {
	Id    int64  `xorm:"pk" json:",string"`                  // ["id","hide","hidden"]
	IfDel string `xorm:"char(1) default 'N'"` // ["deleted","hide","hidden"]
	Cdate string `xorm:"DateTime created"`    // ["create","show","datetime"]
	Udate string `xorm:"DateTime updated"`    // ["update","show","datetime"]
	// add your custom field here
	SysUid   int64  `xorm:"unique" json:",string"`
	UserName string `xorm:"varchar(32)"`
	Mobile   string `xorm:"varchar(20)"`
	JobTitle string `xorm:"varchar(32)"`
	Email    string `xorm:"varchar(127)"`
	RoleId   int64  `xorm:""`
}
